package com.test.lyt.entity.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.Date;

@Data
public class BucketInfoDTO {
    @NotBlank
    private String instanceId;

    //实例关联
    @NotBlank
    private String storageType;

    private String bucketId;

    private String acessKeyId;

    private String acessKeySecret;

    private String endPoint;


    //app关联
    @NotBlank
    private String nameSpace;

    @NotBlank
    private String appId;

    @NotBlank
    private String fileServiceNmae;


    //文件关联
    private String dir;

    private int fileType;

    private String fileId;

    private long size;

    private Date lastModifiedTime;

    //分页
    int currPage = 1;

    int pageSize = 20;

}